]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Stop using deprecated actor property
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Sep 2019 11:14:40 +0000 (13:14 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 20 Sep 2019 16:58:00 +0000 (16:58 +0000)
Both LoginDialog and UnlockDialog are now actor subclasses, so stop
using the deprecated actor delegate that will trigger a warning.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/736

js/ui/screenShield.js

index f79be611c63d4408386d6056425baf10e6b94914..2e2e95a387e81e1172dd81cd9d2518337522bcc7 100644 (file)
@@ -916,8 +916,8 @@ var ScreenShield = class {
         this._lockScreenGroup.hide();
 
         if (this._dialog) {
-            this._dialog.actor.grab_key_focus();
-            this._dialog.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
+            this._dialog.grab_key_focus();
+            this._dialog.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
         }
     }